<!-- page dashboard -->
<template>
  <Dashboard :appData="appData">
    <TopAppBar slot="header" title="Admin console" />
  </Dashboard>
</template>

<script>
import { menuIconParams } from "@/common/baseData";
export default {
  components: {},
  data() {
    return {
      menuIconParams: menuIconParams,
      appData: [
        {
          label: "Users",
          src: require("@/assets/images/menu/users_app.svg"),
          path: "/users",
        },
        {
          label: "settings",
          src: require("@/assets/images/menu/settings.svg"),
          path: "/settings/general",
        },
      ],
    };
  },
  methods: {},
  created() {},
};
</script>
<style lang='less' scoped>
//@import url(); 引入公共css类
.dashboard-main-center {
  width: 100%;
  overflow-y: auto;
  padding: 0 160px;
  &-top {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    .appIcon {
      width: 200px;
      height: 200px;
      border-radius: 8px;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-top: 48px;
      cursor: pointer;
      .iconfont {
        font-size: 72px;
        line-height: 72px;
        color: #4685f1;
      }
      .text {
        margin-top: 16px;
        font-family: Roboto;
        font-size: 16px;
        font-weight: bold;
        color: #202124;
        max-width: 74px;
        text-align: center;
      }
      &:hover {
        background-color: #f2f2f2;
      }
    }
  }
  &-bottom {
    width: 100%;
    padding: 52px 64px 0;
  }
}
</style>